/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: WHY
 * Date: 2022-12-04
 * Time: 12:13
 */
public class Test {
    public static void main(String[] args) {
        MySingList mySingList=new MySingList();
        mySingList.createList();
        mySingList.display();
        System.out.println("====");
        mySingList.addLast(85);
        mySingList.addLast(65);
        mySingList.addLast(55);
        mySingList.addLast(859);
        mySingList.addLast(14);
        mySingList.addFirst(14);
        mySingList.display();
        System.out.println("====");
        mySingList.addFirst(125);
        mySingList.addFirst(99);
        mySingList.display();
        System.out.println("====");
        mySingList.remove(55);
        mySingList.display();
        System.out.println("====");
        mySingList.removeAllKey(14);
        mySingList.display();
    }
}
